package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpdcn
 * @since 2020-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_good_template")
public class ShopGoodTemplateEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @Column(comment = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 模板所属账户id
     */
    @Column(comment = "模板所属账户id")
    private Long accountId;

    /**
     * 模板名称
     */
    @Column(comment = "模板名称")
    private String name;

    /**
     * 一级类目
     */
    @Column(comment = "一级类目")
    private Long categoryFirst;

    /**
     * 二级类目
     */
    @Column(comment = "二级类目")
    private Long categorySecond;

    /**
     * 商品详情
     */
    @Column(comment = "商品详情")
    private String details;


}
